<template>
  <van-tabbar v-model="active">
    <van-tabbar-item replace to="/home" name="home" icon="home-o">首页</van-tabbar-item>
    <van-tabbar-item replace to="/question" name="question" icon="search">题库</van-tabbar-item>
    <van-tabbar-item replace to="/ranking_list" name="ranking" icon="bar-chart-o">排行榜</van-tabbar-item>
    <van-tabbar-item replace to="/mine" name="mine" icon="friends-o">我的</van-tabbar-item>
  </van-tabbar>
</template>

<script>
export default {
  data() {
    return {
      active: "",
    };
  },
};
</script>

<style>
</style>